package net.stogi.dsper.ui.shared.module.user;

import java.util.List;

import net.stogi.common.gwt.dispatch.shared.core.Result;
import net.stogi.dsper.api.dto.UserProfileDto;

public class ListUserProfilesResult implements Result {

	private static final long serialVersionUID = 2689205280099340908L;

	private List<UserProfileDto> userProfiles;

	public ListUserProfilesResult(List<UserProfileDto> userProfiles) {
		this.setUserProfiles(userProfiles);
	}

	protected ListUserProfilesResult() {}

	/**
	 * @param userProfiles
	 *            the userProfiles to set
	 */
	public void setUserProfiles(List<UserProfileDto> userProfiles) {
		this.userProfiles = userProfiles;
	}

	/**
	 * @return the userProfiles
	 */
	public List<UserProfileDto> getUserProfiles() {
		return userProfiles;
	}
}
